package com.shire.shire_interface.dao.group;

import com.shire.shire_interface.model.group.WxGroupQrcode;
import com.shire.shire_interface.model.group.WxGroupQrcodeExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface WxGroupQrcodeDao {
    long countByExample(WxGroupQrcodeExample example);

    int deleteByExample(WxGroupQrcodeExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(WxGroupQrcode record);

    int insertSelective(WxGroupQrcode record);

    List<WxGroupQrcode> selectByExampleWithBLOBs(WxGroupQrcodeExample example);

    List<WxGroupQrcode> selectByExample(WxGroupQrcodeExample example);

    WxGroupQrcode selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") WxGroupQrcode record, @Param("example") WxGroupQrcodeExample example);

    int updateByExampleWithBLOBs(@Param("record") WxGroupQrcode record, @Param("example") WxGroupQrcodeExample example);

    int updateByExample(@Param("record") WxGroupQrcode record, @Param("example") WxGroupQrcodeExample example);

    int updateByPrimaryKeySelective(WxGroupQrcode record);

    int updateByPrimaryKeyWithBLOBs(WxGroupQrcode record);

    int updateByPrimaryKey(WxGroupQrcode record);
}